Python: class PDFfile

Python: class PDFfile

class PDFfile(object)


Methods defined here:

Save(...)
This method is deprecated - use save() instead.
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
save(...)
Save selected pages to pdf file

Data and other attributes defined here:

__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T
aanot = <member 'aanot' of 'PDFfile' objects>
Allow Adding Annotations and Fields. Bool value
achange = <member 'achange' of 'PDFfile' objects>
Allow Changing the Document. Bool value
acopy = <member 'acopy' of 'PDFfile' objects>
Allow Copying Text and Graphics. Bool value
aprint = <member 'aprint' of 'PDFfile' objects>
Allow Printing the Document. Bool value
article = <member 'article' of 'PDFfile' objects>
Save Linked Text Frames as PDF Articles
Bool value
binding = <member 'binding' of 'PDFfile' objects>
Choose binding.
0 - Left binding
1 - Right binding
bleedb = <member 'bleedb' of 'PDFfile' objects>
Bleed Bottom
Distance for bleed from the bottom of the physical page
bleedl = <member 'bleedl' of 'PDFfile' objects>
Bleed Left
Distance for bleed from the left of the physical page
bleedr = <member 'bleedr' of 'PDFfile' objects>
Bleed Right
Distance for bleed from the right of the physical page
bleedt = <member 'bleedt' of 'PDFfile' objects>
Bleed Top
Distance for bleed from the top of the physical page
bookmarks = <member 'bookmarks' of 'PDFfile' objects>
Embed the bookmarks you created in your document.
These are useful for navigating long PDF documents.
Bool value
compress = <member 'compress' of 'PDFfile' objects>
Compression switch. Bool value.
compressmtd = <member 'compressmtd' of 'PDFfile' objects>
Compression method.
0 - Automatic
1 - JPEG
2 - zip
3 - None.
downsample = <attribute 'downsample' of 'PDFfile' objects>
Downsample image resolusion to this value. Values from 35 to 4000
Set 0 for not to downsample
effval = <attribute 'effval' of 'PDFfile' objects>
List of effection values for each saved page.
It is list of list of six integers. Those int have the following meaning:
        - Length of time the page is shown before the presentation
        starts on the selected page. (1-3600)
        - Length of time the effect runs. (1 - 3600)
                A shorter time will speed up the effect, a longer one will slow it down
        - Type of the display effect
                0 - No Effect
                1 - Blinds
                2 - Box
                3 - Dissolve
                4 - Glitter
                5 - Split
                6 - Wipe
        - Direction of the effect of moving lines for the split and blind effects.
                0 - Horizontal
                1 - Vertical
        - Starting position for the box and split effects.
                0 - Inside
                1 - Outside
        - Direction of the glitter or wipe effects.
                0 - Left to Right
                1 - Top to Bottom
                2 - Bottom to Top
                3 - Right to Left
                4 - Top-left to Bottom-Right
encrypt = <member 'encrypt' of 'PDFfile' objects>
Use Encription. Bool value
file = <attribute 'file' of 'PDFfile' objects>
Name of file to save into
fonts = <attribute 'fonts' of 'PDFfile' objects>
List of fonts to embed.
imagepr = <attribute 'imagepr' of 'PDFfile' objects>
Color profile for images
info = <attribute 'info' of 'PDFfile' objects>
Mandatory string for PDF/X-3 or the PDF will fail PDF/X-3 conformance. We recommend you use the title of the document.
intenti = <member 'intenti' of 'PDFfile' objects>
Rendering intent for images
0 - Perceptual
1 - Relative Colorimetric
2 - Saturation
3 - Absolute Colorimetric
intents = <member 'intents' of 'PDFfile' objects>
Rendering intent for solid colors
0 - Perceptual
1 - Relative Colorimetric
2 - Saturation
3 - Absolute Colorimetric
lpival = <attribute 'lpival' of 'PDFfile' objects>
Rendering Settings for individual colors.
This is list of values for each color.
Color values have structure [siii] which stand for:
        s - Color name ('Black', 'Cyan', 'Magenta', 'Yellow')
        i - Frequency (10 to 1000)
        i - Angle (-180 to 180)
        i - Spot Function
                0 - Simple Dot
                1 - Line
                2 - Round
                3 - Ellipse
Be careful when supplying these values as they are not checked for validity.
noembicc = <member 'noembicc' of 'PDFfile' objects>
Don't use embedded ICC profiles. Bool value
outdst = <member 'outdst' of 'PDFfile' objects>
Output destination.
0 - screen
1 - printer
owner = <attribute 'owner' of 'PDFfile' objects>
Owner's password
pages = <attribute 'pages' of 'PDFfile' objects>
List of pages to print
presentation = <member 'presentation' of 'PDFfile' objects>
Enable Presentation Effects.Bool value
printprofc = <attribute 'printprofc' of 'PDFfile' objects>
Output profile for printing. If possible, get some guidance from your printer on profile selection.
profilei = <member 'profilei' of 'PDFfile' objects>
Embed a color profile for images. Bool value.
profiles = <member 'profiles' of 'PDFfile' objects>
Embed a color profile for solid colors. Bool value.
quality = <member 'quality' of 'PDFfile' objects>
Image quality
0 - Maximum
1 - High
2 - Medium
3 - Low
4 - Minimum
resolution = <attribute 'resolution' of 'PDFfile' objects>
Resolution of output file. Values from 35 to 4000.
solidpr = <attribute 'solidpr' of 'PDFfile' objects>
Color profile for solid colors
thumbnails = <member 'thumbnails' of 'PDFfile' objects>
Generate thumbnails. Bool value.
uselpi = <member 'uselpi' of 'PDFfile' objects>
Use Custom Rendering Settings. Bool value
user = <attribute 'user' of 'PDFfile' objects>
User's password
version = <member 'version' of 'PDFfile' objects>
Choose PDF version to use:
12 = PDF/X-3
13 = PDF 1.3 (Acrobat 4)
14 = PDF 1.4 (Acrobat 5)